package com.wf.service;

import com.wf.dao.interfaces.IUserDao;
import com.wf.model.User;
import com.wf.service.interfaces.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * Created by wu on 14/12/23.
 */
@Service("userService")
public class UserServiceImp implements IUserService{

    @Autowired
    private IUserDao userDao;

    @Override
    public List<User> getAllUsers() {
        return userDao.getList(null);
    }


}